package com.cc.flyingfish.util;

/**
 * @author CHENCHEN
 * @title
 * @createTime 2023-02-27 22:17
 */
public class ConditionException extends RuntimeException {

    private Integer code;

    public ConditionException(Integer code, String name){
        super(name);
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

}
